package net.web.entity;

public class Class {
    private int id;
    private String name;
    private String description;
    private int parentid;
    private String coverimage;
    private int sortorder;
    private int isfeatured;
    private String createdtime;
    private String updatedtime;

    public Class() {
    }

    public Class(int id, String name, String description, int parentid, String coverimage, int sortorder, int isfeatured, String createdtime, String updatedtime) {
        this.id = id;
        this.name = name;
        this.description = description;
        this.parentid = parentid;
        this.coverimage = coverimage;
        this.sortorder = sortorder;
        this.isfeatured = isfeatured;
        this.createdtime = createdtime;
        this.updatedtime = updatedtime;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public int getParentid() {
        return parentid;
    }

    public void setParentid(int parentid) {
        this.parentid = parentid;
    }

    public String getCoverimage() {
        return coverimage;
    }

    public void setCoverimage(String coverimage) {
        this.coverimage = coverimage;
    }

    public int getSortorder() {
        return sortorder;
    }

    public void setSortorder(int sortorder) {
        this.sortorder = sortorder;
    }

    public int getIsfeatured() {
        return isfeatured;
    }

    public void setIsfeatured(int isfeatured) {
        this.isfeatured = isfeatured;
    }

    public String getCreatedtime() {
        return createdtime;
    }

    public void setCreatedtime(String createdtime) {
        this.createdtime = createdtime;
    }

    public String getUpdatedtime() {
        return updatedtime;
    }

    public void setUpdatedtime(String updatedtime) {
        this.updatedtime = updatedtime;
    }

    @Override
    public String toString() {
        return "Class{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", description='" + description + '\'' +
                ", parentid=" + parentid +
                ", coverimage='" + coverimage + '\'' +
                ", sortorder=" + sortorder +
                ", isfeatured=" + isfeatured +
                ", createdtime='" + createdtime + '\'' +
                ", updatedtime='" + updatedtime + '\'' +
                '}';
    }
}
